package com.zaoyidian.service;

import com.github.pagehelper.PageInfo;
import com.zaoyidian.common.ServerResponse;
import com.zaoyidian.pojo.Shipping;

/**
 * Created by Gahins on 2017/8/15.
 */
public interface IShippingService {
    ServerResponse add(Integer userId, Shipping shipping);
    ServerResponse<String> del(Integer userId,Integer shippingId);
    ServerResponse update(Integer userId,Shipping shipping);
    ServerResponse<Shipping> select(Integer userId,Integer shippingId);
    ServerResponse<PageInfo> list (Integer userId, int pageNum, int pageSize);
}
